import request from '@/utils/request'

// 查询企业部门信息树
export const getDepartmentTreeApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/tree', { params })

// 部门能耗-负载对比曲线（只针对电）
export const getLoadLineListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/data/load/line', {
    params
  })

// 部门能耗-用量对比曲线
export const getUsageLineListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/data/usage/line', {
    params
  })

// 部门能耗-列表
export const getEnergyListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/data/page', {
    params
  })
